page-search {
  .search-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    width: 100%;
    overflow: hidden;
    .search-back {
      width: 20px;
      height: 40px;
      background: #fff;
      background-image: url("./../assets/img/back.png");
      background-size: 50% 50%;
      background-position: 50% 60%;
      background-repeat: no-repeat;
      margin-left: 10px;
    }
    .search-title {
      display: inline-block;
      margin-top: 2px;
      width: 70%;
      position: absolute;
      top: 6px;
      margin-left: 10px;
    }
    .shousuo {
      float: right;
      background: #fff;
      line-height: 40px;
      margin-right: 2rem;
    }
  }
  /*设置搜索 框的样式*/
  // #mtto1{
  // .mtto{
  //   border: 1px solid #06c;
  //   display: inline-flex;
  //   overflow: hidden;
  //   text-overflow:ellipsis;
  //   white-space: nowrap;
  // }
  .search {
    // border:1px solid #aaa;
    height: 2.5rem !important;
    min-height: 1rem;
    width: 100%;
    border-radius: 4rem;
    position: relative;
    background-color: #eee;
    .item-inner {
      border-bottom: none !important;
    }
    .isFocus {
      animation: moveToleft 0.3s linear 1;
      animation-fill-mode: both;
    }
    .loseFocus {
      animation: moveToCenter 0.3s linear 1;
      animation-fill-mode: both;
    }
    .search-input {
      width: 100%;
      height: 100%;
      color: rgb(102, 102, 102);
      font-size: 1.1rem;
      background-image: url(../assets/img/ios/search@2x.png);
      background-size: 12px 12px;
      background-position: center left;
      background-repeat: no-repeat;
      input {
        height: 100%;
        width: 100%;
        margin: 0;
        padding-left: 6%;
        padding-right: 0;
      }
      ::-webkit-input-placeholder {
        color: rgb(153, 151, 151);
        font-size: 12px;
        text-align: left;
        position: relative;
        padding-left: 0;
      }
      ::-moz-placeholder {
        /* Mozilla Firefox 19+ */
        color: rgb(153, 151, 151);
        font-size: 12px;
        text-align: left;
        position: relative;
      }
      :-moz-placeholder {
        /* Mozilla Firefox 4 to 18 */
        color: rgb(153, 151, 151);
        font-size: 12px;
        text-align: left;
        position: relative;
      }
      :-ms-input-placeholder {
        /* Internet Explorer 10-11 */
        color: rgb(153, 151, 151);
        font-size: 12px;
        text-align: left;
        position: relative;
      }
    }
  } // .mtto {
  //   display:inline-block;
  //   display: inline-flex
  // }
  .tishi {
    width: 100%;
    height: 54px;
    background: #fef7dd;
    ::before {
      content: "";
      display: table;
    }
    p {
      margin-top: 5px;
      margin-bottom: 5px;
    }
    p:first-child {
      color: #ffbb56;
      font-size: 1.2rem;
      padding-left: 4rem;
      background-image: url("./../assets/img/comment/chaping@2x.png");
      background-repeat: no-repeat;
      background-size: 1.6rem 1.6rem;
      background-position: 4% 2%;
    }
    p:last-child {
      color: #ffbb56;
      font-size: 1rem;
      padding-left: 4rem;
    }
  }
  /*设置 返回的搜索内容的 的样式*/
  .searchShow {
    ion-card-header {
      color: #000;
      font-size: 1.5rem;
      .resultCount {
        font-size: 1.1rem;
        float: right;
        margin-right: 1rem;
      }
    }
    ion-label {
     
      white-space: inherit;
  }
    ion-card {
      margin-left: 0;
      margin-right: 0;
      width: 100%;
    }
    ion-card:first-child {
      margin-top: 0 !important;
    }
    ion-card-content {
      padding-bottom: 0;
      ion-item {
        width: 25%;
        padding: 0;
        display: inline-block;
        border: none !important;
        vertical-align: top;
        .label {
          margin-right: 0;
        }
      }
      .resultImg {
        width: 50px;
        height: 50px;
        margin: 0 auto;
        border-radius: 50%;
      }
      p {
        font-size: 1rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        span {
          display: inline-block;
        }
      }
      .resultList {
        max-height: 10rem;
        overflow: hidden;
      }
      .getMore {
        width: 100%;
        height: 100%;
        background: #fff;
        margin-top: 10px;
        img {
          margin: 0 auto;
          width: 10px;
          height: 20px;
          transform: rotate(-90deg);
        }
      }
      .isMore {
        animation: getMore 0.5s linear 1;
        animation-fill-mode: both;
      }
      @keyframes getMore {
        from {
          max-height: 80px;
        }
        to {
          max-height: 500px;
        }
      }
    }
  }
  :before {
    content: "";
    display: table;
  }
  .beforeSearch {
    margin-top: 1rem;
    width: 100%;
    .beforeContent {
      margin-left: 1rem;
      margin-top: 1rem;
      h3 {
        font-size: 1.1rem;
        color: #aaa;
      }
      .search-item {
        line-height: 26px;
        font-size: 1.1rem;
        background: #eee;
        display: inline-block;
        margin-right: 1rem;
        margin-bottom: 0.4rem;
        padding-left: 1rem;
        padding-right: 1rem;
        opacity: 0.5;
        border-radius: 4px;
        max-width: 10rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }
  .scroll-content {
    background: #fff;
  }
  .historyList {
    width: 100%;
    .historyItem {
      width: 90%;
      margin: 0 2rem;
      border-radius: 0;
      padding-left: 1rem; // height:2.5rem;
      border-bottom: 1px solid #eee;
    }
    .button-inner {
      justify-content: left;
      padding-left: 2rem; // border-bottom: 1px solid #eee;
      background-image: url(../assets/img/ios/search@2x.png);
      background-size: 12px 12px;
      background-position: center left;
      background-repeat: no-repeat;
    }
    h3 {
      color: #aaa;
      margin-left: 1rem;
      font-size: 1.3rem;
      margin-top: 1rem !important;
      margin-bottom: 0rem !important;
      margin-left: 0;
      padding-left: 2.5rem;
      border-bottom: 1px solid #eee;
      line-height: 3rem;
      .delImg {
        float: right;
        margin-right: 2rem;
      }
    }
  }
  .loseNet {
    img {
      margin-top: 5rem;
      width: 29rem;
      height: 17rem;
    }
    .msg {
      font-size: 1.2rem;
    }
    .red {
      font-size: 1.8rem;
      color: red;
      border: 1px solid red;
      border-radius: 50px;
      padding: 8px 25px;
      width: 38%;
      display: block;
      margin: 17px auto;
      height: 46px;
    }
  }
}

.red {
  color: red;
  //   overflow: hidden;
  // text-overflow:ellipsis;
  // // white-space: nowrap;
  // white-space:normal
}

.flex {
  width: 100vw;
  height: 100vh;
  background-color: #eee;
  display: flex;
  flex-flow: column;
  align-items: center;
  img {
    width: 88pt;
    height: 78pt;
    margin-top: 17rem;
  }
  p {
    font-size: 14pt;
    font-weight: 500;
    color: #999999;
    margin: 0;
    margin-top: 26pt;
  }
  p+p {
    margin-top: 0;
  }
}